<%-- 
    Document   : cadastrarOrientador
    Created on : 27/10/2011, 02:07:19
    Author     : Gomes
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sistema Gerenciador de Estágios da Facom</title>
    </head>
    <body>
        <h1>Cadastro Orientador</h1>
        <form method="POST" action="${pageContext.request.contextPath}/cadastrarOrientador">
            <p><label>Login: </label><input name="login" type="text"/></p>
            <p><label>Nome: </label><input name="nome" type="text"/></p>
            <p><label>Senha: </label><input name="senha" type="password"/></p>
             <p><label>Curso: </label><select name="curso">
                        <c:forEach var="curso" items="${requestScope.cursos}">
                            <option value="${curso.id}">
                                ${curso.nome}
                            </option>
                        </c:forEach>
                    </select>    </p>           
            <input type="submit"/>
        </form>
    </body>
</html>
